home *** CD-ROM | disk | FTP | other *** search
- #ifndef VKRUNONCE_H
- #define VKRUNONCE_H
-
- #include <Vk/VkCallbackObject.h>
- #include <Xm/AtomMgr.h>
-
- class VkNameList;
-
- class VkRunOnce : public VkCallbackObject {
-
- public:
-
- static const char* const invokedCallback;
-
- VkRunOnce(VkNameList*, Boolean perhost = FALSE, const char *name = NULL, Boolean autoRaise = TRUE);
- virtual ~VkRunOnce();
-
- int numArgs();
- char *arg(int);
-
- protected:
-
- Atom _property;
- VkNameList *_args;
- void handleClientMessage();
-
- private:
-
- Boolean _autoRaise;
- static void handleClientMessageCallback(Widget, XtPointer, XEvent *, Boolean *);
- void show();
- };
-
-
- #endif
-